package com.pubinfo.passbook.common.model.vo.contract;

import com.alibaba.fastjson.annotation.JSONField;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import org.springframework.format.annotation.DateTimeFormat;

import java.io.Serializable;
import java.math.BigDecimal;
import java.util.Date;

@Data
@ApiModel(value = "SyncContractProjectVo", description = "同步合同运维项目返回数据")
public class SyncContractProjectVo implements Serializable {

    @ApiModelProperty("WBS编码")
    @JSONField(name = "POSID")
    private String posid;

    @ApiModelProperty("WBS名称")
    @JSONField(name = "POST1")
    private String post1;

    @ApiModelProperty("创建日期")
    @JSONField(name = "APPLYDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date applyDate;

    @ApiModelProperty("计划起始日期")
    @JSONField(name = "PLANBEGINDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planBeginDate;

    @ApiModelProperty("计划截止日期")
    @JSONField(name = "PLANENDDATE")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date planendDate;

    @ApiModelProperty("项目总金额(元)")
    @JSONField(name = "APPLYSUM")
    private BigDecimal applySum;

    @ApiModelProperty("项目成本中心")
    @JSONField(name = "ITEMCOSTCENTERCODE")
    private String itemCostCenterCode;

    @ApiModelProperty("实施负责人编码")
    @JSONField(name = "MAKEUSERID")
    private String makeUserid;

    @ApiModelProperty("实施负责人名称")
    @JSONField(name = "MAKEUSERNAME")
    private String makeUserName;

    @ApiModelProperty("状态")
    @JSONField(name = "STATUS")
    private Integer status;

    @ApiModelProperty("项目ID")
    @JSONField(name = "BILLID")
    private String billid;

    @ApiModelProperty("WBS要素")
    @JSONField(name = "PSPNR")
    private String pspnr;

    @ApiModelProperty("时间戳")
    @JSONField(name = "CREATETIME")
    @DateTimeFormat(pattern = "yyyy-MM-dd HH:mm:ss")
    private Date createTime;


}
